package main.niit.pojo;

public class User
{
    private String name;
    private int stuid;
    private double gpa;
    private String recommend;


    public User(String name, int stuid, int gpa, String recommend) {
        this.name = name;
        this.stuid = stuid;
        this.gpa = gpa;
        this.recommend = recommend;
    }
    public User(String name, int stuid, double gpa) {
        this.name = name;
        this.stuid = stuid;
        this.gpa = gpa;
    }
    public User() {}

    public User(String name, String recommend){
        this.name = name;
        this.recommend = recommend;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getStuid() {
        return stuid;
    }

    public void setStuid(int stuid) {
        this.stuid = stuid;
    }

    public double getGpa() {
        return gpa;
    }

    public void setGpa(double gpa) {
        this.gpa = gpa;
    }

    public String getRecommend() {
        return recommend;
    }

    public void setRecommend(String recommend) {
        this.recommend = recommend;
    }

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", stuid=" + stuid +
                ", gpa=" + gpa +
                ", recommend='" + recommend + '\'' +
                '}';
    }
}


